package com.xiexie.seckill.vo;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.ToString;

/**
 * @author Jiange
 * @create 2021-09-20-21:17
 */
@AllArgsConstructor
@Getter
@ToString
public enum RespEnum {
    SUCCESS(200,"SUCCESS"),
    ERROR(500,"服务端异常"),
    LOGIN_ERROR(500210,"用户名或者用户名错误"),
    MOBILE_ERROR(500211,"手机号码格式不正确"),

    ;
    private final Integer code;
    private final String message;

}
